#!/bin/sh

mkdir -p ./DispatchAssist/src
cp ./bin ./DispatchAssist/ -a
cp ./etc ./DispatchAssist/ -a
cp ./install.sh ./DispatchAssist/
cp ./release.note ./DispatchAssist/
cp ./src/*.py ./DispatchAssist/src/

version=`cat release.note | grep Version | sed -n '1p' | cut -d '=' -f 2`
tar -zcvf DispatchAssist-v$version.tar.gz DispatchAssist
rm -rf DispatchAssist
